package com.yang.controller;


import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class HelloSpringBoot {
	@Autowired
	private DataSource dataSource;
	
	@GetMapping("hello")
	public String hello(){
		
		return "Hello,这是我的第一个SpringBoot项目"+dataSource;
	}

}
